package com.example.demo.service;

import com.example.demo.entity.Rule;
import com.example.demo.entity.rep.RuleRep;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RuleService {
    List<RuleRep> getAll();

    boolean create(Rule rule);

    boolean update(Rule rule);

    boolean delete(String uuid);

    boolean updateLastUpdateTime(String uuid);
}
